package edu.snake.implement.view;


import edu.snake.core.service.ViewController;
import edu.snake.core.view.View;
import edu.snake.core.view.ViewFactory;

public class ViewRenderFactorySwing implements ViewFactory {
    @Override
    public View getView(ViewController viewController) {
        ViewImpl viewImpl = new ViewImpl(viewController);
        viewImpl.repaint();
        viewImpl.setVisible(true);
        return viewImpl;
    }

}
